import request from '@/utils/request';

export function messageCount() {
    return request({
        url: '/dashboard/messageCount',
        method: 'get'
    });
}

export function tVoteTypeCount() {
    return request({
        url: '/dashboard/tVoteTypeCount',
        method: 'get'
    });
}
export function tVoteTypeMonth(data:any) {
    return request({
        url: '/dashboard/tVoteTypeMonth/' + data,
        method: 'get'
    });
}
export function tVoteTypeWeek(data:any) {
    return request({
        url: '/dashboard/tVoteTypeWeek/' + data,
        method: 'get'
    });
}
export function tvoteCount() {
    return request({
        url: '/dashboard/tvoteCount',
        method: 'get'
    });
}
export function userCount() {
    return request({
        url: '/dashboard/userCount',
        method: 'get'
    });
}
export function userViews() {
    return request({
        url: '/dashboard/userViews',
        method: 'get'
    });
}
export function getLastLoginAddress() {
    return request({
        url: '/dashboard/getLastLoginAddress',
        method: 'get'
    });
}
